#ifndef _OBJECTTIMER_
#define _OBJECTTIMER_


/***/
#include <set>
#include "Stopper.h"
#include "Object.h"

using namespace std;

class ObjectTimer {
	Stopper _clock;
	set<Object*> _Objects;
	static ObjectTimer* _instance;
protected:
	ObjectTimer() {};
	ObjectTimer(const ObjectTimer&) {};
	~ObjectTimer();
public:
	static ObjectTimer* instance();
	void addObject(Object*);
	void removeObject(Object*);
	void activateAll();
};

#endif